<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <%@ include file="/WEB-INF/include/common/common-header.jspf"%>
	    <title>${siteName} - 操作成功</title>
		<%@ include file="/WEB-INF/include/admin/common-admin-header.jspf"%>
	
	    <style>
	    html, body {
	    	height: 100%;
	    }
	    .main-box-container {
	        height: 100%;
	        display: table-cell;
	    }
	    
	    .main-box {
	        height: 100%;
	    }
	    
	    .main-box .ibox-content {
	        width: 500px;
	        height: 300px;
	        overflow: auto;
	        text-align: left;
	        margin: 0 auto;
	        border: 1px solid #e2e2e2;
	    }
	    
	    .ico-success {
	        font-size: 85px;
	         color: #79a64a;
	    }
	
	    .collapse-link {
	        color: #489ae2;
	    }
	    .f-18 {
		    font-size: 18px;
		}
		p {
		    margin: 0 0 10px;
		}
		.btn-outline {
		    color: inherit;
		    background-color: transparent;
		    transition: all .5s;
		}

		.btn-default {
		    background: #fff;
		    border: 1px solid #e2e2e2;
		}
		.btn-w-m {
		    min-width: 120px;
		}
		.btn {
		    border-radius: 3px;
		}
		.btn {
		    display: inline-block;
		    padding: 6px 12px;
		    margin-bottom: 0;
		    font-size: 14px;
		    font-weight: normal;
		    line-height: 1.42857143;
		    text-align: center;
		    white-space: nowrap;
		    vertical-align: middle;
		    -ms-touch-action: manipulation;
		    touch-action: manipulation;
		    cursor: pointer;
		    -webkit-user-select: none;
		    -moz-user-select: none;
		    -ms-user-select: none;
		    user-select: none;
		}
	    </style>
	</head>
	
	<body class="gray-bg">
	    
	    <div class="main-box-container gray-bg full-width">
	        <div class="text-center main-box white-bg ibox">
	            <p class="m-md ico-success" style="padding-top: 120px;">
	                <i class="fa fa-check-circle"></i>
	            </p>
	            <p class="f-18">操作成功<c:if test="${not empty successInfo}">，
		            <c:if test="${redFont }"><font color="red"></c:if>
		            	${successInfo}<br>
		            <c:if test="${redFont }"></font></c:if></c:if></p>
	            <p>
	                <a href="javascript:closeWindow();" class="btn btn-outline btn-default btn-w-m">关 闭</a>
	            </p>
	        </div>
	    </div>
	</body>
	<script type="text/javascript">
	  	function closeWindow(){
			if(window.parent.btnRefresh != null) {
			    window.parent.btnRefresh.click();
			}
		}
	</script>
</html>
